<extend name="en_us:Public:ad_base" />
<block name="title">
    <title>Year end offer</title>
</block>
<block name="extendHead">
    <meta name="wap-font-scale" content="no">
    <link rel="stylesheet" type="text/css" href="/Public/uclbrt/ulite/ulite.min.css?rev=564c2312781e513710f09c9ed8baa0fa">
    <link rel="stylesheet" type="text/css" href="/Public/dist/Home/PublicPage/advertisement.css">
</block>
<block name="document">
    <div id="doc">
        <div class="row" id="doc-advertisement">
            <div style="height: auto;" class="section doc-intro-section"><img style="width: 100%;" src="/Public/dist/Home/PublicPage/image/advertisement01.png"/></div>
            <div style="height: auto;" class="section doc-intro-section"><img style="width: 100%;" src="/Public/dist/Home/PublicPage/image/advertisement02.png"/></div>
            <a href="QR02S.html" style="height: auto;" class="section doc-intro-section"><img style="width: 100%;" src="/Public/dist/Home/PublicPage/image/advertisement03.png"/></a>
            <a href="electricSwitch.html" style="height: auto;" class="section doc-intro-section"><img style="width: 100%;" src="/Public/dist/Home/PublicPage/image/advertisement04.png"/></a>
            <a href="redLine.html" style="height: auto;" class="section doc-intro-section"><img style="width: 100%;" src="/Public/dist/Home/PublicPage/image/advertisement05.png"/></a>
        </div>
    </div>
</block>
<block name="extendFootJs">
    <script type="text/javascript" src="/Public/jslib/jquery/1.11.2/jquery.min.js"></script>
    <script type="text/javascript">
        var adHost = '{$Think.const.QRMASTER_URL}';
    </script>    
    <script type="text/javascript">
        (function($){
            $.getUrlParam = function(name){
                var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
                var r = window.location.search.substr(1).match(reg);
                if (r!=null) return unescape(r[2]); return null;
            }
        })(jQuery);
        
        $(function(){
            var adSrc = $.getUrlParam('src');
            var josnpUrl = 'http://'+adHost + '/Home/Advertisement/periodicalClicked?key='+adSrc;
            $.ajax({  
                 type: "get",   
                 url:josnpUrl,  
                 dataType: "jsonp",  
                 success: function(data){  
                     
                 },  
                 error: function(){  
                 
                 }  
            });      
        });            
    </script>    
</block>

